import { RouteRecordRaw } from "vue-router";

export default {
    path: '/OpenLayers',
    redirect: '/OpenLayers/index',
    children: [
        {
            path: 'index',
            component: () => import('@/views/OpenLayers/index.vue'),
            meta: {
                title: ''
            }
        },
        {
            path: 'measuringDistance',
            component: () => import('@/views/OpenLayers/MeasuringDistance.vue'),
            meta: {
                title: '测距'
            }
        },
        {
            path: 'measuringArea',
            component: () => import('@/views/OpenLayers/MeasuringArea.vue'),
            meta: {
                title: '测面'
            }
        },
        {
            path: 'drawPlane',
            component: () => import('@/views/OpenLayers/DrawPlane.vue'),
            meta: {
                title: '画平面'
            }
        },
        {
            path: 'drawCircle',
            component: () => import('@/views/OpenLayers/DrawCircle.vue'),
            meta: {
                title: '画圆'
            }
        },
        {
            path: 'DrawRectangle',
            component: () => import('@/views/OpenLayers/DrawRectangle.vue'),
            meta: {
                title: '画矩形'
            }
        },
        {
            path: 'DrawFreeLine',
            component: () => import('@/views/OpenLayers/DrawFreeLine.vue'),
            meta: {
                title: '画线'
            }
        },
        {
            path: 'DrawFreePlane',
            component: () => import('@/views/OpenLayers/DrawFreePlane.vue'),
            meta: {
                title: '画平面'
            }

        },
        {
            path: 'CoordinatePicking',
            component: () => import('@/views/OpenLayers/CoordinatePicking.vue'),
            meta: {
                title: '坐标拾取'
            }
        },
        {
            path: 'ShowMapXY',
            component: () => import('@/views/OpenLayers/ShowMapXY.vue'),
            meta: {
                title: '鼠标坐标组件'
            }

        },
        {
            path: 'ScaleLine',
            component: () => import('@/views/OpenLayers/ScaleLine.vue'),
            meta: {
                title: '比例尺'
            }

        },
        {
            path: 'ScreenShot',
            component: () => import('@/views/OpenLayers/ScreenShot.vue'),
            meta: {
                title: '截图'
            }
        },
        {
            path: 'TestGeoserver',
            component: () => import('@/views/OpenLayers/TestGeoserver.vue'),
            meta: {
                title: '自定义wms'
            }
        },
        {
            path: 'TrackPlayback',
            component: () => import('@/views/OpenLayers/TrackPlayback.vue'),
            meta: {
                title: '轨迹回放'
            }
        },
        {
            path: 'TestWFS',
            component: () => import('@/views/OpenLayers/TestWFS.vue'),
            meta: {
                title: 'WFS'
            }
        },

        {
            path: 'TestWfsInf',
            component: () => import('@/views/OpenLayers/TestWfsInf.vue'),
            meta: {
                title: 'WFS'
            }
        },

    ]
} as RouteRecordRaw